﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VentHost.Lib;

namespace VentHost.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            using (Service svc = new Service())
            {
                if (svc.IsRunning() == true)
                {
                    svc.Stop();
                }
                else
                {
                    svc.Start();
                }
            }
        }
    }
}
